<?php
namespace app\model;
use think\Model;

class Users extends Model{

    protected $resultSetType = 'users';


	public static function getUsersInfo($userName,$password) {
		$result=self::where('username',$userName)->where('password',$password)->find();
		return $result;
	}






}